<extend name="public@base5" />
<block name="head">
    <include file="theme/functions" />
</block>
<block name="main">
    <div class="wrap " style="text-align: center;">
        <form class="js-ajax-form margin-top-20" role="form" action="{:url('Promote/updateInviteRewardPost')}" method="post">
            <foreach name="invite_reward" item="vo" key="index">
                <div class="col-12 margin-top-10">
                    <php>$people = substr($index, strrpos($index, '_') + 1);</php>
                    成功邀请第{$people}个人，获得
                    <input type="number" name="invite_reward[{$index}]" value="{$vo}">
                    星链石
                </div>
            </foreach>
            <div class="form-group margin-top-20">
                <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1">
                    {:lang('SAVE')}
                </button>
            </div>
        </form>
    </div>
</block>
<block name="scripts">
    <include file="theme/scripts" />
</block>